package com.weilai.domain;

import java.time.LocalDateTime;

public class Videos {
    private int videoId;
    private int userId;
    private String title;
    private String description;
    private int tagId;
    private String filePath;
    private LocalDateTime uploadTime;
    private int viewCount;
    private int likeCount;
    private int commentCount;
    private int shareCount;
    private int isLike;


    public Videos() {}

    public Videos(int videoId, int userId, String title, int shareCount, LocalDateTime uploadTime,  int commentCount, int likeCount, int viewCount, String filePath, String description, int tagId,int isLike) {
        this.videoId = videoId;
        this.userId = userId;
        this.title = title;
        this.shareCount = shareCount;
        this.uploadTime = uploadTime;
        this.commentCount = commentCount;
        this.likeCount = likeCount;
        this.viewCount = viewCount;
        this.filePath = filePath;
        this.description = description;
        this.tagId = tagId;
        this.isLike = isLike;
    }

    public int getVideoId() {
        return videoId;
    }

    public void setVideoId(int videoId) {
        this.videoId = videoId;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public int getViewCount() {
        return viewCount;
    }

    public void setViewCount(int viewCount) {
        this.viewCount = viewCount;
    }

    public int getLikeCount() {
        return likeCount;
    }

    public void setLikeCount(int likeCount) {
        this.likeCount = likeCount;
    }

    public int getCommentCount() {
        return commentCount;
    }

    public void setCommentCount(int commentCount) {
        this.commentCount = commentCount;
    }

    public LocalDateTime getUploadTime() {
        return uploadTime;
    }

    public void setUploadTime(LocalDateTime uploadTime) {
        this.uploadTime = uploadTime;
    }

    public int getShareCount() {
        return shareCount;
    }

    public void setShareCount(int shareCount) {
        this.shareCount = shareCount;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }
    public int getTagId() {
        return tagId;
    }
    public void setTagId(int tagId) {
        this.tagId = tagId;
    }
    public int getIsLike() {
        return isLike;
    }
    public void setIsLike(int isLike) {
        this.isLike = isLike;
    }
}
